# !/bin/sh

echo  "题目答案正确！" >> /tmp/result_detail_${BUILD_NUMBER}
echo "BUILD_NUMBER:::${BUILD_NUMBER}"
echo '' > results
cat /tmp/result_detail_$BUILD_NUMBER > results
commitId=${GIT_COMMIT}

curl -X POST -F "status=2" \
-F "commitId=$commitId" \
-F "buildNumber=${BUILD_NUMBER}" \
-F "result=@results" $callback_url
